package com.joycessh.search.index.entity;

import java.util.Date;

/**
 * @Author Joycessh
 * @Description
 * @Date 5/3/19 4:23 PM
 */
public class Page {
    private int docID;
    private Date tstamp;
    private String anchor;
    private String digest;
    private String host;
    private String boost; //float a=Float.parseFloat(strFloat);
    private String id;
    private String title;
    private String url;
    private String content;
    private float score;

    public int getDocID() {
        return docID;
    }

    public void setDocID(int docID) {
        this.docID = docID;
    }

    public Date getTstamp() {
        return tstamp;
    }

    public void setTstamp(Date tstamp) {
        this.tstamp = tstamp;
    }

    public String getAnchor() {
        return anchor;
    }

    public void setAnchor(String anchor) {
        this.anchor = anchor;
    }

    public String getDigest() {
        return digest;
    }

    public void setDigest(String digest) {
        this.digest = digest;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getBoost() {
        return boost;
    }

    public void setBoost(String boost) {
        this.boost = boost;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public float getScore() {
        return score;
    }

    public void setScore(float score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "Page{" +
                "tstamp=" + tstamp +
                ", anchor='" + anchor + '\'' +
                ", digest='" + digest + '\'' +
                ", host='" + host + '\'' +
                ", boost=" + boost +
                ", id=" + id +
                ", title='" + title + '\'' +
                ", url='" + url + '\'' +
                ", content='" + content + '\'' +
                ", score=" + score +
                '}';
    }
}
